home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 67 / IOPROG_67A.ISO / soft / Tools / mwsppv4.exe / INSERT PROCESSDIALOGMESSAGES.SCRIPT < prev    next >
Encoding:
Text File  |  2001-01-21  |  757 b   |  28 lines

  1. !!Script
  2. // Copyright ⌐ 1997-2001 - Modelworks Software
  3.  
  4. // Insert script helper for:
  5.  
  6. /**
  7. @Object: WebEdit 
  8. @Property: processDialogMessages - a boolean controlling the flow
  9. of message processing. The default value is false. If true then
  10. dialog messages (e.g., tabs) will be processed by the web browser
  11. control and not available for processing within scripts.
  12. @Syntax: webEdit.processDialogMessages
  13. @Summary: processDialogMessages - process dialog messages flag 
  14. */
  15.  
  16. function DoCommand()
  17. {
  18.   var editor = getActiveEditor();
  19.   if (editor)
  20.   {
  21.     var selection = editor.getSelection();
  22.     editor.replace("webEdit.processDialogMessages", selection);
  23.     editor.setActive("Insert webEdit.processDialogMessages");
  24.   }
  25. }
  26.  
  27. !!/Script
  28.